package com.parenting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.parenting.entities.ExamineDO;
import com.parenting.model.UserDTO;
import com.parenting.response.RefuseRefundResponse;
import com.parenting.response.applet.ApprovalList;
import com.parenting.response.applet.RefundDetails;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-10-13
 */
public interface ExamineService extends IService<ExamineDO> {
    /***
     * 待审核 列表
     * @param shopId
     * @return
     */
    List<ApprovalList>  getApprovalList(String shopId);


    /***
     * 已经 审核列表
     * @param shopId
     * @return
     */
    List<ApprovalList>  getAlreadyApprovalList(String shopId);



    /***
     * 通过退款
     * @param orderId
     */
    void   ByRefund(UserDTO userInfo,String orderId);

    /***
     * 拒绝退款
     * @param refuseRefundResponse
     */
    void RefuseRefund(UserDTO userInfo,RefuseRefundResponse refuseRefundResponse);



    RefundDetails refundDetails(String ordersId);
}
